Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

printSchema: support empty descriptions #2177

Merged
merged 1 commit into from Sep 16, 2019

Conversation

IvanGoncharov
Copy link
Member

No description provided.

@IvanGoncharov IvanGoncharov added the PR: bug fix 🐞 requires increase of "patch" version number label Sep 16, 2019
@IvanGoncharov IvanGoncharov merged commit 2e1becb into graphql:master Sep 16, 2019
@IvanGoncharov IvanGoncharov deleted the pr_branch branch September 16, 2019 14:37
abernix added a commit to apollographql/apollo-server that referenced this pull request Jan 3, 2020
As of graphql/graphql-js#2177 in `graphql@15`, empty
descriptions are still included in the SDL output.  In order to be excluded
entirely, they must be absent (or `null`).

Ref: graphql/graphql-js#2177
abernix added a commit to apollographql/apollo-server that referenced this pull request Jan 3, 2020
As of graphql/graphql-js#2177 in `graphql@15`, empty
descriptions are still included in the SDL output.  In order to be excluded
entirely, they must be absent (or `null`).

Ref: graphql/graphql-js#2177
abernix added a commit to apollographql/apollo-server that referenced this pull request Jan 24, 2020
In `graphql@15`, empty descriptions are intentionally included in the SDL
output.  In order to be excluded entirely, they must be absent (or `null`).

Ref: graphql/graphql-js#2177
abernix added a commit to apollographql/apollo-server that referenced this pull request Jan 29, 2020
* Adjust test to not use deprecated `introspectionQuery` constant.

Instead, use `getIntrospectionQuery` instead, which has been around since
before graphql@0.13.x, thus within our supported version ranges.

* Adjust documentation links for moved `introspectionQuery` page.

This file now lives at `getIntrospectionQuery`.

* Applying upstream modification to `printDescription`.

I'm assuming we'll want to keep this change which was also applied upstream,
though I'm not sure what our longer term plans are for keeping up with these
changes.

Ref: https://github.com/graphql/graphql-js/pull/2177/files#diff-71ba52e9c625f826d2b0df2963c8633aR320

* Remove empty descriptions which will be included in SDL w/graphql@15.

In `graphql@15`, empty descriptions are intentionally included in the SDL
output.  In order to be excluded entirely, they must be absent (or `null`).

Ref: graphql/graphql-js#2177
abernix added a commit to ardatan/graphql-tools that referenced this pull request Apr 10, 2020
kamilkisiela added a commit to ardatan/graphql-tools that referenced this pull request Apr 14, 2020
* Bump the minimum acceptable range for `apollo-link`.

* v15: Unspecified descriptions are now `null` in the AST.

Ref: graphql/graphql-js#2177

* Node 10 and 12

Co-authored-by: Jesse Rosenberger <git@jro.cc>
abernix added a commit to apollographql/federation that referenced this pull request Sep 4, 2020
* Adjust test to not use deprecated `introspectionQuery` constant.

Instead, use `getIntrospectionQuery` instead, which has been around since
before graphql@0.13.x, thus within our supported version ranges.

* Adjust documentation links for moved `introspectionQuery` page.

This file now lives at `getIntrospectionQuery`.

* Applying upstream modification to `printDescription`.

I'm assuming we'll want to keep this change which was also applied upstream,
though I'm not sure what our longer term plans are for keeping up with these
changes.

Ref: https://github.com/graphql/graphql-js/pull/2177/files#diff-71ba52e9c625f826d2b0df2963c8633aR320

* Remove empty descriptions which will be included in SDL w/graphql@15.

In `graphql@15`, empty descriptions are intentionally included in the SDL
output.  In order to be excluded entirely, they must be absent (or `null`).

Ref: graphql/graphql-js#2177

Apollo-Orig-Commit-AS: apollographql/apollo-server@131c9b8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: bug fix 🐞 requires increase of "patch" version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant